package indi.zn.commons.compress;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

public interface Compressor {
	
	public void compress(InputStream is, OutputStream os)throws IOException;
	
	public void decompress(InputStream is, OutputStream os)throws IOException;

	public byte[] compress(byte[] data) throws IOException;

	public byte[] decompress(byte[] data) throws IOException;
}
